package request

type UserLoginRequest struct {
	Phone    string `binding:"required,len=11" form:"phone" json:"phone" label:"手机号"`
	Password string `binding:"required,min=6,max=12" form:"password" json:"password" label:"密码"`
}

type SetUserRequest struct {
	Name     string `binding:"required,min=2,max=12" form:"name" json:"name" label:"姓名"`
	Phone    string `binding:"required,len=11" form:"phone" json:"phone" label:"手机号"`
	Password string `binding:"required,min=6,max=12" form:"password" json:"password" label:"密码"`
}
